package com.sanbi.erp.core.config;

import com.github.houbb.property.annotation.PropertyField;
import com.sanbi.common.config.IntegerValueConverter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Desc:
 * @Data: 2022/8/24 14:00
 * @Author: WuHang
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FreightConfig {
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer goodsCubage;//商品体积重参数

    @PropertyField(converter = IntegerValueConverter.class)
    private Integer freightScale1;//运费区间1
    @PropertyField(converter = BigDecimalValueConverter.class)
    private BigDecimal freightScale1Price;//运费区间1的价格

    @PropertyField(converter = IntegerValueConverter.class)
    private Integer freightScale2;//运费区间2
    @PropertyField(converter = BigDecimalValueConverter.class)
    private BigDecimal freightScale2Price;//运费区间2的价格

    @PropertyField(converter = IntegerValueConverter.class)
    private Integer freightScale3;//运费区间3
    @PropertyField(converter = BigDecimalValueConverter.class)
    private BigDecimal freightScale3Price;//运费区间3的价格

    @PropertyField(converter = IntegerValueConverter.class)
    private Integer freightScale4;//运费区间4
    @PropertyField(converter = BigDecimalValueConverter.class)
    private BigDecimal freightScale4Price;//运费区间4的价格

    @PropertyField(converter = IntegerValueConverter.class)
    private Integer freightScale5;//运费区间5
    @PropertyField(converter = BigDecimalValueConverter.class)
    private BigDecimal freightScale5Price;//运费区间5的价格
}
